from os.path import abspath, join, dirname

# 项目根目录
PROJECT_PATH = abspath(join(dirname(__file__), '..'))
# 代码所在目录
SRC_PATH = abspath(join(dirname(__file__)))
# 资源所在目录
RESOURCE_PATH = join(PROJECT_PATH, 'resource')
# pyltp模型数据的路径
PYLTP_MODEL_PATH = join(RESOURCE_PATH, 'ltp_data_v3.4.0')
